form {
	text-align: center;
}

fieldset {
	margin: 1em 0 2em 2em;
	padding-bottom: 1.3em;
	border-left: 0;
	border-bottom: 1px solid #999;
	border-right: 0;
	border-top: 0;
	background: white;
	text-align: left;
}

legend {
	padding: 2px 1ex;
	border-right: 1px solid #999;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	background: white;
	color: #666;
}

label {
	float: left;
	clear: both;
	width: 30%;
	padding-top: 2px;
	padding-right: 1em;
	text-align: right;
}

.app {
    border: 1px solid #ddf;
    margin-bottom: 2px;
    width:153px;
}

fieldset .result-set {
	border-collapse: separate;
	border-spacing: 0 5px;
}

fieldset .result-set td {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: #eee;
	color: #666;
	font-weight: normal;
}

label.inline {
	float: none;
	vertical-align: 10%;
}

div.labelsep {
	float: left;
	clear: both;
	width: 70%;
	margin: 2em 0;
	padding: 0 15%;
	font-weight: bold;
	color: #999;
	background: #eee;
}

.sanslabelfield {
	padding-left: 30%;
}

/* The following three blocks are slightly modified
from Andrew Tetley's originals. Also the original css
contained extra classes for field elements in various
phases of validation scrutiny (ie, passed, failed,
cleared). I've omitted them for the sake of simplicity */

.validation-advice {
	display: inline;
	vertical-align: 10%;
	margin: 0;
	padding: 2px 5px;
	background-color: #FF3300;
	color : #FFF;
	font-weight: bold;
}

.custom-advice {
	display: inline;
	vertical-align: 10%;
	margin: 0;
	padding: 2px 5px;
	background-color: #C8AA00;
	color : #FFF;
	font-weight: bold;
}

.form-row {
	clear: both;
	padding: 0.5em;
}

/* The following repositioning is necessary because
location choices are returned in a table (which is
correct HTML programming). Andrew's default advice
for checkbox groups only works properly if the input
elements have a common parent, such as a div element.
Hopefully the addition below can be replaced by a more
generic method in the fullness of time. */

#advice-validate-one-if-none-place_of_business_id, #advice-validate-one-if-none-alt_location_id {
	position: absolute;
	top: 200px;
	left: 28%;
}
